package cn.zbh.pet.mapper;

import cn.zbh.basic.mapper.BasicMapper;
import cn.zbh.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;

public interface PetMapper extends BasicMapper<Pet> {


    /**
     * 上下架
     * @param ids
     * @param date
     */
    void onSale(@Param("ids") List<Long> ids, @Param("onsaletime")Date date);

    void offsale(@Param("ids")List<Long> ids, @Param("offsaletime")Date date);
}
